package com.eam.dao;

import java.util.List;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.LockMode;
import org.springframework.context.ApplicationContext;
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import com.eam.bean.Position;

/**
 * A data access object (DAO) providing persistence and search support for
 * Position entities. Transaction control of the save(), update() and delete()
 * operations can directly support Spring container-managed transactions or they
 * can be augmented to handle user-managed Spring transactions. Each of these
 * methods provides additional information for how to configure it for the
 * desired type of transaction control.
 * 
 * @see com.eam.dao.Position
 * @author MyEclipse Persistence Tools
 */

public abstract interface PositionDAO {
	
	public abstract void save(Position transientInstance) ;

	public abstract void delete(Position persistentInstance);

	public abstract Position findById(java.lang.Integer id);

	public abstract List findByExample(Position instance);

	public abstract List findByProperty(String propertyName, Object value) ;

	public abstract List findByTitle(Object title);
	public abstract List findAll() ;

	public abstract Position merge(Position detachedInstance) ;

	public abstract void attachDirty(Position instance) ;

	public abstract void attachClean(Position instance);

}